package com.zan.pattern.decorator;

/**
 * @Author Zan
 * @Create 2024-04-25 23:19
 * @Description : 炒饭类（具体构建角色）
 * @ClassName: FriedRice
 */
public class FriedRice extends FastFood {

    public FriedRice() {
        super(10, "炒饭");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
